// export default router
//配置路由的地方
import Vue from 'vue'
import VueRouter from 'vue-router'
 
//使用插件
Vue.use(VueRouter);
import handle from '../components/handle/index.vue'
import video from '../components/video-analysis.vue'
import monitoring from '../components/monitoring-analysis.vue'
import videoDetail from '../components/videoDetail.vue'
import operationLog from '../components/operation-log.vue'
import app from '../App.vue'
 
 
const router = new VueRouter({
    //配置路由
    routes: [
          { path: '/',redirect: {path:'/monitoringanalysis'},component: app},
          { path: '/vedioanalysis', component: video },
          { path: '/monitoringanalysis', component: monitoring },
          { path: '/videoDetail', component: videoDetail },
          { path: '/handleList', component: handle },
          { path: '/operation-log',component: operationLog}
    ]
})
 
export default router